public class BookDataSet {

    private static Book[] books = new Book[4];
    static {
        books[0] = new Book("b001","程序设计","耿祥义",45.4f,12);
        books[1] = new Book("b002","离散数学","柳林",45.4f,12);
        books[2] = new Book("b003","数据结构","严蔚敏",45.4f,12);
        books[3] = new Book("b004","红楼梦","曹雪芹",55.4f,15);
    }

    public static Book[] getBooks() {
        return books;
    }
}
